package com.socket.dao;

import com.socket.entity.GpsRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by kaddddd on 2017/7/5 0005.
 */
@Repository
public interface GpsRecordDao {
    List<GpsRecord> findList(Map map);

    GpsRecord findOnlineInfo(String nm);

    void insert(GpsRecord gpsRecord);

    int findOnlineFlag(String nm);
}
